i = 0  # 程序计数法从0开始

while i < 3:
    print("hello python")
    i += 1  # 赋值运算符等同于 i = i + 1

print("结束后i = %d" % i)    